import ZbRequest from '../index'
import ZbRequest1 from '../index1'

// export const login = (data) => ZbRequest.get('/userLogin.aspx', data) 

// export const login = (data) => ZbRequest1.get({url:'/userLogin.aspx', data})
export const login = (data) => ZbRequest1.post({url:'/system/sign_login', data })

// 登陆时获取菜单权限
export const get_query_modules = (data) => ZbRequest1.post({url:'/authorization/query_modules', data })